﻿using System;
using ProtoBuf;
using ZyGames.Framework.Common;
using ZyGames.Framework.Collection;
using ZyGames.Framework.Model;

namespace ZyGames.DZPocker.Model
{
	/// <summary>
	/// 商店信息配置
	/// </summary>
	[Serializable, ProtoContract]
	[EntityTable(AccessLevel.ReadOnly, DbConfig.Config)]
	public class ShopInfo : ShareEntity
	{

		/// <summary>
		/// </summary>
		public ShopInfo()
			: base(true)
		{

		}

		/// <summary>
		/// 商品ID
		/// </summary>        
		[ProtoMember(1)]
		[EntityField(true)]
		public int ShopID { get; set; }

		/// <summary>
		/// 商品名称
		/// </summary>        
		[ProtoMember(2)]
		[EntityField]
		public string ShopName { get; set; }

		/// <summary>
		/// 商品图标
		/// </summary>        
		[ProtoMember(3)]
		[EntityField]
		public string Icon { get; set; }

		/// <summary>
		/// 价格
		/// </summary>        
		[ProtoMember(4)]
		[EntityField]
		public int Price { get; set; }

		/// <summary>
		/// 游戏币
		/// </summary>        
		[ProtoMember(5)]
		[EntityField]
		public int GameCoin { get; set; }

		/// <summary>
		/// 额外赠送
		/// </summary>
		[ProtoMember(6)]
		[EntityField]
		public int Gift { get; set; }

		/// <summary>
		/// 游戏描述
		/// </summary>        
		[ProtoMember(7)]
		[EntityField]
		public string ShopDesc { get; set; }

		/// <summary>
		/// 商品BundleID
		/// </summary>
		[ProtoMember(8)]
		[EntityField]
		public string BundleID { get; set; }
	}
}
